/**
 * 
 */
package cn.edu.cqu.bysj.wm.util;

import java.io.IOException;
import java.io.RandomAccessFile;

/**
 * @author Meng
 * 
 */
public class ExportData {

	/**
	 * @param output
	 */
	public static void exportData(String output, String path) {
		try {
			RandomAccessFile randomFile = new RandomAccessFile(path, "rw");
			randomFile.seek(randomFile.length());
			randomFile.writeBytes(output);
			randomFile.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
